﻿<%@ Control Language="C#" ClassName="JournalVoucherTypeFields" %>
<asp:FormView ID="FormView1" runat="server">
    <ItemTemplate>
        <table border="0" cellpadding="3" cellspacing="1">
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataJournalVoucherTypeId" runat="server" Text="Journal Voucher Type Id:"
                        AssociatedControlID="dataJournalVoucherTypeId" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataJournalVoucherTypeId" Text='<%# Bind("JournalVoucherTypeId") %>'
                        MaxLength="10"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataJournalVoucherTypeId"
                            runat="server" Display="Dynamic" ControlToValidate="dataJournalVoucherTypeId"
                            ErrorMessage="Required"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="literal">
                    <asp:Label ID="lbldataDescription" runat="server" Text="Description:" AssociatedControlID="dataDescription" />
                </td>
                <td>
                    <asp:TextBox runat="server" ID="dataDescription" Text='<%# Bind("Description") %>'
                        MaxLength="50"></asp:TextBox>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:FormView>
